﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace EngineeringMaster.Student
{
    public partial class CourseDetail : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }

        protected void DataList1_SelectedIndexChanged(object sender, EventArgs e)
        {

        }

        protected void CategoryLabel_Click(object sender, EventArgs e)
        {
            LinkButton lkb = (LinkButton)sender;
            Response.Redirect("~/Student/SelectCourse.aspx?CourseType=" + lkb.CommandArgument.ToString().Trim());
        }

        protected void LinkButtonCourse_Click(object sender, EventArgs e)
        {
            LinkButton lkb = (LinkButton)sender;
            Response.Redirect("~/Student/OneCourseDetail.aspx?CourseID=" + lkb.CommandArgument.ToString().Trim());

        }

        protected void LinkButtonTeacher_Click(object sender, EventArgs e)
        {
            LinkButton lkb = (LinkButton)sender;
            Response.Redirect("~/Student/TeacherDescription.aspx?teacherId=" + lkb.CommandArgument.ToString().Trim());

        }
    }
}
